<%@ page language="java" contentType="text/html; charset=ISO-8859-15" pageEncoding="ISO-8859-15"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<title></title>
</head>
<body>
<script type="text/javascript">

function saveRevista(form){
	document.getElementById("form1").action="misSolicitudsList.do?action=saveModificaRevista";
	document.getElementById("form1").submit();
}
function tornaResumRevista(form){
	document.getElementById("form1").action="misSolicitudsList.do?action=goToResumRevista";
	document.getElementById("form1").submit();
}

$().ready(function() {
	// validate the comment form when it is submitted
	$("#form1").validate();
});

</script>


<h1>
	<bean:message key="label.title.modifica.solicitud" />
	<a class="icon_help" target="_blank" href="Link.do?method=help#misSolicituds" ><span class="toolTip" title="<bean:message key='label.help.menu.modificaRevista' />">&nbsp;</span></a>
</h1>


<html:form styleId="form1" action="/misSolicitudsList.do?action=saveModificaRevista">

<h4>
	<bean:message key="label.title.estatReserva" />
</h4>

<html:hidden styleId="idSolicitud"  property="idSolicitud" />


<div id="estadoReserva" >
	<fieldset>
		<span class="form_field">
		<!-- <label class="labelCol1"> -->
			<b><bean:message key="label.text.estat" /></b>	
			<bean:write name="misSolicitudsListForm" property="estadoSolicitud"/>
		</span>
	</fieldset>
</div>

<h4>
	<bean:message key="label.title.dadesReserva" />
</h4>

<div id="datosReserva" >
	<fieldset>
		<span class="form_field">
		<b><bean:message key="label.text.centreResponsabilitat" /></b>	
		<bean:write name="misSolicitudsListForm" property="centreResponsabilitat"/>
		</span>
		<span class="form_field">
		<b><bean:message key="label.text.grupOrganizatiu" /></b>	
		<bean:write name="misSolicitudsListForm" property="nomGrupOrganitzatiu"/>
		</span>
		</br>	
 		<span class="form_field">
		<b><bean:message key="label.text.personaSolicitant" /></b>	
		<bean:write name="misSolicitudsListForm" property="personaSolicitant"/>
		</span>	
	</fieldset>
</div>


<h4>
	<bean:message key="label.title.dadesRevista" />
</h4>

<div id="dadesLlibre">
	<fieldset id="fSDLlibres">
		<ul>
			<li class="clearfix">
				<label class="labelFormLlibreCol1">
					<font color="red" > <bean:message key="edit.required"/>  </font> 
					<bean:message key="label.text.titol" />
				</label>
				
				<html:text styleId="titol"  property="titol" size="120" maxlength="255" styleClass="required"/>
			</li>
			
			<li class="clearfix">
				<label class="labelFormLlibreCol1">
					<bean:message key="label.text.editorial" />
				</label>
				<html:text styleId="editorial"  property="editorial" size="70" maxlength="255"/>
				
				<label class="labelColIssn">
					<bean:message key="label.text.issn" />
				</label>
				<html:text styleId="issn"  property="issn" maxlength="20"/>
			</li> 
			
			<li class="clearfix">
				<label class="labelFormLlibreCol1">
					<bean:message key="label.text.lloc" />
				</label>
				<html:text styleId="lloc"  property="lloc" size="70" maxlength="255"/>
				
				<label class="labelColIssn">
					<bean:message key="label.text.any" />
				</label>
				<html:text styleId="any"  property="any" maxlength="20"/>
			</li> 
		
			<li class="clearfix">
				<label class="labelFormLlibreCol1">
					<bean:message key="label.text.url" />
				</label>
				<html:text styleId="url"  property="url" size="120" maxlength="255"/>
			</li>
			<li class="clearfix">
				<label class="labelFormLlibreCol1">
					<bean:message key="label.text.observacions" />
				</label>
				<html:textarea styleId="observacions"  property="observacions" cols="25" rows="5" />
			</li>
		</ul>		
	</fieldset>
</div>

<div id="divButtons">
	<html:button styleId="procesa" property="modifica" onclick="tornaResumRevista(this);return false;" >  <bean:message key="label.button.torna" /> </html:button>
	<html:submit styleId="procesa"> <bean:message key="label.button.desaCanvis" />  </html:submit>
</div>

</html:form>

</body>
</html>